// mock 的核心文件
// 1. cnpm i -S mockjs
// 2. 伪造接口
// 3. mock/index.js  在main.js 注入一下
import Mock from 'mockjs';


// 登录接口
import accountData from "./accountData"

Mock.mock(/\/login/, "post", accountData.login);
Mock.mock(/\/register/, "post", accountData.register);
Mock.mock(/\/getUserInfo/, "post", accountData.getUserInfo);
